package com.qww;

public class Test14 {

    public static void main(String[] args) {

    }

    public boolean flag() {
        return true;
    }

    public double naturalLogBase() {
        return 3.14;
    }

    public void nothing() {
        return;
    }

    public void nothing2() {}

    /*
        // Error:(24, 5) java: 缺少返回语句
        public String method1() {}
    */

    /*
        // Error:(28, 16) java: 不兼容的类型: int无法转换为java.lang.String
        public String method2() {
            return 0;
        }
    */
}
